﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using DatabaseHelper;
using System.IO;
using SDK10kWrapper;
using System.Configuration;
using RS232;
using UI.Online.SubForms;

namespace UI.Online
{
    public partial class frmOnlineUI2
    {
        Camera cam1, cam2, cam3;
        public int currProjectID;
        int currPipelineID;
        int currRecordID;
        int lastRecordID;
        public string currProjectName;
        string currPipelineName;
        string currProjectLocation;
        PRecord newRecord = new PRecord();
        public int StringFormatSelection;
        public string InstallationFolder;
        
        // Auto stop recording after 30 mins, for demo use 30seconds
        System.Timers.Timer tmrAutoStop = new System.Timers.Timer();
        DateTime t_start, t_end;
        TimeSpan MaxRecordTime = TimeSpan.FromSeconds(3600);
        public bool bIsRecording = false;

        public RS232Reader SurveyDataReader;

        string Camera1DefaultIP, Camera2DefaultIP, Camera3DefaultIP;
        string Camera1DefaultFilePath, Camera2DefaultFilePath, Camera3DefaultFilePath;

        PData DataNow;
    }
}
